<?php
include_once('Sismo.class.php');
foreach ( $_POST['a'] as $a=> $value ){
    
$sismo = new Sismo("",$value['id_server'], $value['fecha'], $value['magnitud'], $value['longitud'], $value['latitud'], $value['profundidad'],$value['pais'],$value['cercania'],$value['server']);    

$sismo->save();
}

echo "OK";


?>
